<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="css/estiloBotoes.css" />
<link type="text/css" rel="stylesheet" href="css/estiloTemplate.css" />
<link rel="stylesheet" type="text/css" href="css/jquery-ui-1.8.20.custom.css" />
<link rel="stylesheet" type="text/css" href="css/estilotabela.css" />
<link rel="stylesheet" type="text/css" href="css/estiloLogin.css" />

<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.20.custom.min.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.validate.js"></script>
<script>
$(document).ready( function() {
		$("#formLogin").validate({
			// Define as regras
				rules : {
					usuario : {
						required : true,
						
					},
					senha : {
						required: true,
					}		
				},
				messages : {
					usuario : {
						required : "Informe o nome do usuario",
					},
					senha : {
						required : "Informe a senha do usuario",
					}
				}
		    
		});
	});
</script>
</head>
<body>

	<div class="bar"></div>

	<div class="divPosicionamento">
		<div class="sign-in">
			<div class="signin-box">
				<h2>Login</h2>
				<form id="formLogin" action="adm/index.jsp" method="post">
					<div class="usuario-label">
						<label for="usuario"> 
							<strong class="usuario-label">Nome de usuario</strong>
								<input type="text" name="usuario" id="idUsuario" />
						</label>
					</div>
					<div class="passwd-div">
						<label for="senha"> <strong class="passwd-label">Senha</strong>
						</label>
						<p>
							<input type="password" name="senha" id="senha" />
						</p>

						<p>
							<input type="submit" class="g-button g-button-submit" name="login" id="idLogin" value="Entrar" />
						</p>
					</div>
				</form>
			</div>
		</div>
	</div>
	<div class="logoJM"></div>
</body>
</html>
